<%-- $RCSFile: EnhancedLinksEdit.aspx $
 Apache license v2 2011 by Christian Surieux
 $Source: ?/AddonNice/PageModules/EnhancedLinks/EnhancedLinksEdit.aspx $
 $log$
 Revision 6 2010/08/09 10:51:20  christian.surieux
   Added Log comment to all .aspx .ascx .master files
 --%>
<%@ Page Language="c#" CodeBehind="EnhancedLinksEdit.aspx.cs" AutoEventWireup="False" Inherits="AddonNice.PageModules.EnhancedLinks.EnhancedLinksEdit" MasterPageFile="~/MasterPages/ADNProperties.Master" %>
<%@ Register TagPrefix="cc1" Namespace="AddonNice.UI.WebControls" Assembly="ADNCRM.Core" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="Telerik" %>

<asp:Content  ID='Content0' runat="server" ContentPlaceHolderID="ContentTitle">
     <asp:literal id="Literal1" runat="server" Text="<%$ Resources:ADNCRM,ELINK_DETAILS %>" />
</asp:Content>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolderButtons2">
    <asp:PlaceHolder ID="PlaceHolderButtons2" runat="server" />
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="ContentSettingsTable" >
    <asp:ScriptManagerProxy ID="SCMPEnhancedLinksEdit" runat='server' />
<Telerik:radformdecorator id="FormDecorator1" runat="server" decoratedcontrols="Default" />
<table class='TB750' cellspacing="0" cellpadding="0" >
    <tr>
        <td class='LTD150'>
            <asp:literal id="Literal10" runat="server" Text="<%$ Resources:ADNCRM,ELINK_GROUP %>" />
        </td>
        <td class='RTD600' colspan="2">
            <asp:checkbox id="IsGroup" runat="server" ToolTip="Separator for group links" AutoPostBack="True" />
        </td>
    </tr>
    <tr>
        <td class='LTD150'>
            <asp:literal id="Literal11" runat="server" Text="<%$ Resources:ADNCRM,ELINK_ICONFILE %>" />
        </td>
        <td class='RTD600' colspan="2">
            <cc1:FileExplorerTextBox id="Src" runat="server" CssClass="RTB98P" />
        </td>
    </tr>
    <tr>
        <td class='LTD150'>
            <asp:literal id="Literal2" runat="server" Text="<%$ Resources:ADNCRM,TITLE %>" />
        </td>
        <td class='RTD400'>
            <Telerik:RadTextBox ID="TitleField" Runat="server" maxlength="150" Columns="30" 
                CssClass="RTB98P" ValidationGroup="Main"/>
        </td>
        <td class='RTD200'>
            <asp:requiredfieldvalidator id="Req1" runat="server" Enabled="false" ErrorMessage="<%$ Resources:ADNCRM,ERROR_VALID_TITLE %>" ControlToValidate="TitleField" Display="Static" ValidationGroup='Main' />
        </td>
    </tr>
</table>
<br />
<asp:Panel ID="PanelUsePage" runat="server">
    <table class='TB750' cellspacing="0" cellpadding="0" >
        <tr>
            <td class='RTD600'>
                <asp:checkbox id="CbUsePageNum" runat="server" ToolTip="<%$ Resources:ADNCRM,ELINK_USEPAGENUM %>" Text="<%$ Resources:ADNCRM,ELINK_USEPAGENUM %>" AutoPostBack="True" />
            </td>
            <td>
            </td>
        </tr>
    </table>
</asp:Panel>
<br />
<asp:Panel ID="PanelTabs" runat="server">
    <table class='TB750' cellspacing="0" cellpadding="0" >
        <tr>
            <td class='RTD600'>
                <cc1:RadTreeComboPages ID="tabDropDownList" runat="server" Width="100%" />
            </td>
            <td>
            </td>
        </tr>
    </table>
</asp:Panel>
<br />
<asp:Panel ID="PanelUrl" runat="server">
    <table class='TB750' cellspacing="0" cellpadding="0" >
        <tr>
            <td class='LTD150'>
                <asp:literal id="UrlFieldLabel" runat="server" Text="<%$ Resources:ADNCRM,URL %>" />
            </td>
            <td class='RTD400'>
                <Telerik:RadTextBox ID="UrlField" Runat="server" maxlength="150" Columns="30" CssClass="RTB98P" ValidationGroup='Main' />
                <asp:literal id="oldUrl" runat="server" Text="" Visible="False"/>
            </td>
            <td class='RTD200'>
                <asp:requiredfieldvalidator id="Req2" runat="server" ErrorMessage="<%$ Resources:ADNCRM,ERROR_VALID_URL %>" ControlToValidate="UrlField" Display="Static" />
            </td>
        </tr>
        <tr>
            <td class='LTD150'>
              <asp:literal id="TargetFieldLabel" runat="server" Text="<%$ Resources:ADNCRM,ELINK_TARGET %>" />
            </td>
            <td class='RTD400'>
                <Telerik:RadComboBox ID="TargetField" Runat="server" />
            </td>
            <td class='RTD200'>&nbsp;</td>
        </tr>
    </table>
</asp:Panel>
<br />
<table class='TB750' cellspacing="0" cellpadding="0" >
    <tr>
        <td class='LTD150'>
            <asp:literal id="Literal5" runat="server" Text="<%$ Resources:ADNCRM,DESCRIPTION %>" />
        </td>
        <td class='RTD400'>
            <Telerik:RadTextBox ID="DescriptionField" Runat="server" maxlength="150" Columns="30" CssClass="RTB98P"/>
        </td>
        <td class='RTD200'></td>
    </tr>
    <tr>
        <td class='LTD150'>
            <asp:literal id="Literal7" runat="server" Text="<%$ Resources:ADNCRM,ELINK_VIEWORDER %>" />
        </td>
        <td class='RTD400'>
            <Telerik:RadNumericTextBox ID="ViewOrderField" Runat="server" 
                ShowSpinButtons='true'  maxlength="3" Columns="30" CssClass="RTB98P" 
                EmptyMessage="Input link order in list" MinValue="0" ValidationGroup="Main" />
        </td>
        <td class='RTD200'>
            <asp:requiredfieldvalidator id="RequiredViewOrder" runat="server" ErrorMessage="<%$ Resources:ADNCRM,ERROR_VALID_VIEWORDER %>" ControlToValidate="ViewOrderField" Display="Static" ValidationGroup='Main' />
        </td>
    </tr>
</table>
<hr />
<span>
    <asp:literal id="Literal8" runat="server" Text="<%$ Resources:ADNCRM,CREATED_BY %>" />&nbsp; 
    <asp:label id="CreatedBy" runat="server"></asp:label>&nbsp; 
    <asp:literal id="Literal9" runat="server" Text="<%$ Resources:ADNCRM,ON %>" />&nbsp; 
    <asp:label id="CreatedDate" runat="server" />
    <br />
</span>
<Telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
    <AjaxSettings>
        <Telerik:AjaxSetting AjaxControlID="IsGroup">
            <UpdatedControls>
                <Telerik:AjaxUpdatedControl ControlID="PanelUsePage" />
                <Telerik:AjaxUpdatedControl ControlID="PanelTabs" />
                <Telerik:AjaxUpdatedControl ControlID="PanelUrl" />
                <Telerik:AjaxUpdatedControl ControlID="Src" />
            </UpdatedControls>
        </Telerik:AjaxSetting>
        <Telerik:AjaxSetting AjaxControlID="CbUsePageNum">
            <UpdatedControls>
                <Telerik:AjaxUpdatedControl ControlID="PanelTabs" />
                <Telerik:AjaxUpdatedControl ControlID="PanelUrl" />
                <Telerik:AjaxUpdatedControl ControlID="Src" />
            </UpdatedControls>
        </Telerik:AjaxSetting>
    </AjaxSettings>
</Telerik:RadAjaxManagerProxy>
</asp:Content>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="ContentPlaceHolderButtons1">
    <asp:placeholder id="PlaceHolderButtons" runat="server" />
</asp:Content>